Skip to content

feat: genearte stx charm#770

Open
ahmad-can wants to merge 3 commits intocanonical:mainfrom
ahmad-can:feature/generate-stx-charm
Open

feat: genearte stx charm#770
ahmad-can wants to merge 3 commits intocanonical:mainfrom
ahmad-can:feature/generate-stx-charm

Conversation

@ahmad-can
Copy link
Copy Markdown

@ahmad-can ahmad-can commented Apr 14, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new stx storage backend implementation to Sunbeam and wires it into the existing backend test/fixture infrastructure.

Changes:

  • Introduces StxBackend and its StxConfig model under sunbeam.storage.backends.stx.
  • Adds a new unit test module for the stx backend and integrates stx into common backend fixtures and uniqueness/expectation tests.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
sunbeam-python/sunbeam/storage/backends/stx/backend.py Adds the StxBackend implementation and StxConfig schema (enums + config fields).
sunbeam-python/sunbeam/storage/backends/stx/__init__.py Declares the stx backend package.
sunbeam-python/tests/unit/sunbeam/storage/backends/conftest.py Adds stx_backend fixture and includes stx in the any_backend parametrization.
sunbeam-python/tests/unit/sunbeam/storage/backends/test_common.py Extends backend uniqueness and expected-type/charm-name tests to include stx.
sunbeam-python/tests/unit/sunbeam/storage/backends/test_stx.py Adds backend-specific tests for stx and basic protocol validation coverage.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread sunbeam-python/tests/unit/sunbeam/storage/backends/test_stx.py Outdated
Comment thread sunbeam-python/sunbeam/storage/backends/stx/backend.py
Comment thread sunbeam-python/sunbeam/storage/backends/stx/backend.py
Comment thread sunbeam-python/tests/unit/sunbeam/storage/backends/test_stx.py Outdated
Comment thread sunbeam-python/tests/unit/sunbeam/storage/backends/test_stx.py Outdated
@ahmad-can ahmad-can force-pushed the feature/generate-stx-charm branch from c21b288 to 993891b Compare April 21, 2026 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants